package com.example.walled_houses.service;

import com.example.walled_houses.entity.Opinion;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.walled_houses.vo.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chengtaoxie
 * @since 2023-10-26
 */
public interface OpinionService extends IService<Opinion> {

    Result addOpinion(Opinion opinion);

    Result deleteOpinion(Integer opinionId);

    Result getOpinion(Integer currentPage);

    Result updateOpinion(Opinion opinion);
}
